package com.smallcc.service.impl;

import com.smallcc.dataobject.SellerInfo;
import com.smallcc.repository.SellerInfoRepository;
import com.smallcc.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 晓风过境
 * @TODO
 * @date 2018/4/2 14:36
 * @day 02
 * @return $text$
 * @title ${CLASS_NAME}
 * @project_name sell
 */
@Service
public class SellerServiceImpl implements SellerService {
    @Autowired
    private SellerInfoRepository sellerInfoRepository;
    @Override
    public SellerInfo findSellerInfoByOpenid(String openid) {
        return sellerInfoRepository.findByOpenid(openid);
    }
}
